# Author:sp
# CreaTime: $(DATE)
# FileName: $(NAME)
# Description: simple introdution of the code
def fun(n):
    if n==1:
        return 1
    else:
        return n*fun(n-1)
m=fun(6)
print(m)
#斐波那契数列
def fun1(n):
    if n==1:
        return 1
    elif n==2:
        return 1
    else:
        return fun1(n-1)+fun1(n-2)
print(fun1(3))     #输出这个数列第三位上的数字
print('输出此数列前六位上的数字')
for i in range(1,7):
     print(fun1(i))